package com.wind.taobao.api.sns.picture.rest
{
	import com.wind.taobao.api.IPublicAPI;
	import com.wind.taobao.core.exception.InvalidRequestParametersException;
	import com.wind.taobao.core.util.TaobaoUtils;
	import com.wind.taobao.core.webservice.TaobaoRequest;

	[Deprecated(replacement="com.wind.taobao.api.jianghu.rest.JianghuAlbumsGetAlbumListRequest", since="2.0")]
	/**
	 * taobao.sns.pictures.getAlbums Request
	 * @author fxy
	 *
	 */
	public class SNSPicturesGetAlbumsRequest extends TaobaoRequest implements IPublicAPI
	{
		public override function get method():String
		{
			return "taobao.sns.pictures.getAlbums"
		}
		[Bindable]
		public var uid:int; // 	 Y 	 用户数字id
		[Bindable]
		public var start_row:int; // 	Y 	开始行数
		[Bindable]
		public var count:int; // 	Y 	数量 

		public override function validate():void
		{
			if (!TaobaoUtils.hasAllValue([uid, start_row, count]))
			{
				throw new InvalidRequestParametersException("请求参数[uid, start_row, count]不能为空");
			}
		}
	}
}